<style>
	.resetPwd{
		margin-left:30px;margin-right:30px;margin-bottom: 30px;
	}
	.con{font-size: 16px;font-weight: bold;margin-bottom: 30px;}
</style>
<table class="table">
  <tbody>
  <#list list as user>
    <tr>
      <td width="205">${user.username!}</td>
      <td width="210">${user.diskSize!}MB</td>
      <td width="345">${user.diskNum!}</td>
      <td>
		<a href="javascript:void(0)" style="margin-right:50px;"
			data-toggle="modal" data-target="#reset${user.id!}">重置密码</a>
		<a href="javascript:void(0)" data-toggle="modal" data-target="#expand${user.id!}"> 磁盘扩容</a>
		     	<!-- 对话框HTML 重置密码	-->
		<div class="modal fade" id="reset${user.id!}">
		  <div class="modal-dialog" style="width: 380px;">
		    <div class="modal-content">
		      <div class="resetPwd" >
		      	<h2><i>重置密码</i></h2>
		      	<hr/>
		      	  <div class="con">
		      		<i>&nbsp;&nbsp;&nbsp;&nbsp;请问是否重置密码，点击重置密码后，该用户的密码将被重置为123456。</i>
		      	  </div>
				  <div class="delete-btn">
					<a class="btn" href="manager!resetPwd?uid=${user.id!}">重置密码</a>
					<a class="btn" href="">取消</a>
				  </div>
		      	</div>
		      </div>
		    </div>
		  </div>
		</div>
      	<!-- 对话框HTML 重置密码	结束-->
      	<!-- 对话框HTML 重置密码	-->
		<div class="modal fade" id="expand${user.id!}">
		  <div class="modal-dialog" style="width: 380px;">
		    <div class="modal-content">
		      <div class="resetPwd" >
		      	<h2><i>扩展用户磁盘空间</i></h2>
		      	<hr/>
		      	<h4><i>请选择扩展磁盘的大小</i></h4>
		      	<form action="manager!expandDisk" method="post">
		      		<input type="hidden" name="uid" value="${user.id!}"/>
		      	  <div class="con">
		      		<select class="form-control" name="size">
					  <option value="10">10 MB</option>
					  <option value="20">20 MB</option>
					  <option value="50">50 MB</option>
					  <option value="100">100 MB</option>
					</select>
		      	  </div>
				  <div class="delete-btn">
				  	<input type="submit" value="扩容" class="btn"/>
					<a class="btn" href="">取消</a>
				  </div>
				 </form>
		      	</div>
		      </div>
		    </div>
		  </div>
		</div>
      	<!-- 对话框HTML 重置密码	结束-->
	  </td>
    </tr>
  	</#list>
  </tbody>
</table>